<form class="ajax" action="{{ url('/navigation') }}" method="post">
  {{ get_hidden_inputs(database) }}

  {% for type, label in types %}
    {% if hidden[type] is defined and hidden[type] is iterable %}
      {{ not loop.first ? '<br>' }}
      <strong>{{ label }}</strong>
      <table class="table w-100">
        <tbody>
          {% for item in hidden[type] %}
            <tr>
              <td>{{ item }}</td>
              <td class="text-end">
                <a class="unhideNavItem ajax" href="{{ url('/navigation') }}" data-post="{{ get_common({
                  'unhideNavItem': true,
                  'itemType': type,
                  'itemName': item,
                  'dbName': database
                }, '', false) }}">{{ get_icon('show', t('Unhide')) }}</a>
              </td>
            </tr>
          {% endfor %}
        </tbody>
      </table>
    {% endif %}
  {% endfor %}
</form>
